Skip to content

ci: grant packages: write to the release workflow - #14

Merged
TC-jBautista merged 1 commit into
masterfrom
ci-release-packages-permission
Oct 20, 2026
Merged

TC-jBautista merged 1 commit into
masterfrom
ci-release-packages-permission

Conversation

@TC-jBautista

Copy link
Copy Markdown

The release-nuget-package run for tag 3.21.0 failed at "Publish package" with 403 (Forbidden) pushing to nuget.pkg.github.com/tigertext: https://github.com/tigertext/workflow-core/actions/runs/39368081507

The job log shows GITHUB_TOKEN with Packages: read only. The workflow declares no permissions, so it inherits the repo/org default, which no longer grants write (3.17.0 and 3.17.2 published fine with the same workflow in Feb/Mar 2026).

Adds explicit contents: read + packages: write to the job so it does not depend on the repo setting.

Not verified until a tag runs the workflow. The existing 3.21.0 tag points at the commit before this change, so it needs to be recreated (or released as 3.21.1) after merging.

🤖 Generated with Claude Code

The 3.21.0 release failed pushing to GitHub Packages with 403: the
GITHUB_TOKEN only had Packages: read because the workflow declared no
permissions.

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
@TC-jBautista
TC-jBautista merged commit f53f67d into master Oct 20, 2026
9 of 10 checks passed
@TC-jBautista
TC-jBautista deleted the ci-release-packages-permission branch October 20, 2026 04:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant